/**
 * Created by Edwin on 2015/12/16 0016.
 * 创建数据库连接
 */

module.exports = {
    // debug 为 true 时，用于本地调试
    debug: false,
    session_secret: 'msk_secret', // 务必修改
    auth_cookie_name: 'msk',
    encrypt_key: 'msk',

    //数据库配置
    URL: '127.0.0.1',
    DB: 'blog',
    HOST: '',
    PORT: 27017,
    USERNAME: '',
    PASSWORD: '',

    //站点基础信息配置
    SITETITLE: 'msk', // 站点名称
    SITEVERSION: 'v0.0.1', // 静态资源版本戳
    INGREDIENT: new Array('ingredient', '材料管理'),
    CUISINE:new Array('cuisine', '菜式管理'),
    SETMEAL:new Array('setmeal', '套餐管理'),
    PURCHASE:new Array('purchase', '进货管理'),
    IngBuyRecord:new Array('ingbuyrecord', '材料购入记录'),
    CashFlow:new Array('cashflow', '资金流动'),
    SALE:new Array('sale', '销售管理'),



    // 系统参数
    INGREDIENTTYPES: new Array("肉类","蔬果类","其他"),
    CUISINETYPES: new Array("宵夜","小炒"),
    CASHFLOWTYPES: new Array("收入","支出"),

    //信息提示相关
    system_illegal_param: '非法参数',
    // 企业号配置
    enterpriseConfg: {
        token: 'k1SrCY4r2Dc6S',
        encodingAESKey: 'kUa7a4icJ0tAsEZo5rUPq69JHmBEpIBiFPWgzI1Ll3O',
        corpId: 'wx3929b2850c107c96',
        secret: 'Yjb1D8pcWsVoJNWhhlS6lA1nh7Xinfu6rAWj31aJZDiE6VofGNsJA6n-IwYHFy6L',
        agentid: 11
    },
    // 公众号配置
    wxconfig: {
        token: 'gotomsk',
        appid: 'wxec137d0c0f28715e',
        encodingAESKey: '0ujSWHSa8PgTjJxcf2TgCdSR29FGHf5se23UlpFT2dM'
    }
}